export interface IMenusItem {
  name: string;
  path: string;
  url?: string;
  icon?: string;
  enabled?: number;
  component?: string;
  children?: IMenusItem[];
}

export type IMenus = IMenusItem[];

const MENUS: IMenus = [
  {
    name: '系统管理',
    path: '/app',
    icon: 'SettingOutlined',
    enabled: 1,
    children: [
      {
        name: '首页',
        path: '/app/home',
        component: '@/views/Home',
        enabled: 1,
      },
      {
        name: '表格',
        path: '/printReport',
        component: '@/views/ExcelDemo',
        enabled: 1,
      },
      {
        name: '测试',
        path: '/app/testDemo',
        component: '@/views/ExcelDemo',
        enabled: 1,
      },
    ],
  },
];

export default MENUS;
